package com.lanhe.member.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户收益记录(LhMemberRevenueRec)表实体类
 *
 * @author zhanggl
 * @since 2023-12-27 10:09:56
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("lh_member_revenue_rec")
public class LhMemberRevenueRec {

	/**
	 * ID
	 */
    @TableId(type= IdType.AUTO)
	private Long revenueRecId;

	/**
	 * 订单汇总表ID
	 */
	private Long orderPoolId;

	/**
	 * 会员ID
	 */
	private Long memberId;

	/**
	 * 源0-多游，1-清创,2-卡鱼，3-号卡
	 */
	private Integer origin;

	/**
	 * 订单ID
	 */
	private Long orderId;

	/**
	 * 收益类型0-订单收益，1-充值收益
	 */
	private Integer revenueType;

	/**
	 * 产品标题
	 */
	private String productName;

	/**
	 * 产品图片
	 */
	private String productLog;

	/**
	 * 订单收益
	 */
	private BigDecimal amount;

	/**
	 * 备注
	 */
	private String reason;

	/**
	 * 创建时间
	 */
	private Date createTime;

}

